Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Server.Client Namespace / WebChannel Class / DownloadString Method / DownloadString(String,Nullable<Int32>) Method
Optional. The number of seconds to wait for a response to the request.

In This Topic
    DownloadString(String,Nullable<Int32>) Method
    In This Topic
    Downloads the resource with the specified URI to a string
    Syntax
    'Declaration
     
    
    <AsyncStateMachineAttribute(Gibraltar.Server.Client.WebChannel/d__63)> 
    Public Overloads Function DownloadString( _ 
       ByVal relativeUrl As String, _ 
       ByVal timeout As Nullable(Of Integer) _ 
    ) As Task(Of String)
    [AsyncStateMachine(Gibraltar.Server.Client.WebChannel/d__63)] 
    public Task<string> DownloadString( 
       string relativeUrl, 
       Nullable<int> timeout 
    )

    Parameters

    relativeUrl
    timeout
    Optional. The number of seconds to wait for a response to the request.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also